home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: makholm@diku.dk (Henning Makholm)
- Newsgroups: comp.lang.c.moderated,comp.lang.c,comp.std.c
- Subject: Re: Perhaps it's time the C community *did* something about bad books.
- Followup-To: comp.lang.c.moderated,comp.lang.c
- Date: 30 Jan 1996 17:57:20 -0600
- Organization: Department of Computer Science, U of Copenhagen
- Sender: clc@solutions.solon.com
- Approved: clc@solutions.solon.com
- Message-ID: <4emb90$3ue@solutions.solon.com>
- References: <4e07lv$adu@solutions.solon.com> <4e5ooa$6b5@solutions.solon.com>
- <4e9f08$9br@solutions.solon.com> <4e9gff$9n9@solutions.solon.com>
- NNTP-Posting-Host: solutions.solon.com
-
- seebs@solutions.solon.com (Peter Seebach) writes:
-
- > Page 59
- >
- > "This shorthand works for all the binary operators..."
- >
- > [Meaning op=, ala +=, -=... -seebs]
- > No, it doesn't. It doesn't work for ".", "->", "&&", or "||".
-
- .= would never be meaningful but the others would be nice, though...
-
- /* traversing a linked list: HYPOTHETICAL CODE */
- for ( link = root ; link ; link ->= next )
- process(link->data);
-
- Cool! :-)
- (oh well, then at least 'clever'... others would prefer 'unreadable')
-
- --
- Henning Makholm - math and CS student - University of Copenhagen
- makholm@diku.dk - http://www.diku.dk/students/makholm - fido 2:235/224.92
-